package com.itcm.purchase.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 每日报表
 * </p>
 *
 * @author cm_fighting
 * @since 2020-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "DailyReport对象", description = "每日报表")
public class DailyReport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    @ApiModelProperty(value = "日期")
    private Date reportDate;

    @ApiModelProperty(value = "1:早,2:中,3:晚")
    private Integer type;

    @ApiModelProperty(value = "胚芽#1 接班底数")
    private Double pyoneFrom;

    @ApiModelProperty(value = "胚芽#1 交班底数")
    private Double pyoneTo;

    @ApiModelProperty(value = "胚芽#2 接班底数")
    private Double pytwoFrom;

    @ApiModelProperty(value = "胚芽#2 交班底数")
    private Double pytwoTo;

    @ApiModelProperty(value = "胚芽#1 合计")
    private Double pyoneTotal;

    @ApiModelProperty(value = "胚芽#2 合计")
    private Double pytwoTotal;

    @ApiModelProperty(value = "胚芽 总计")
    private Double pyTotal;

    @ApiModelProperty(value = "喷浆皮 #1 接班底数")
    private Double pjponeFrom;

    @ApiModelProperty(value = "喷浆皮 #1 交班底数")
    private Double pjponeTo;

    @ApiModelProperty(value = "喷浆皮 #2 接班底数")
    private Double pjptwoFrom;

    @ApiModelProperty(value = "喷浆皮 #2 交班底数")
    private Double pjptwoTo;

    @ApiModelProperty(value = "喷浆皮 #1 合计")
    private Double pjponeTotal;

    @ApiModelProperty(value = "喷浆皮 #2 合计")
    private Double pjptwoTotal;

    @ApiModelProperty(value = "喷浆皮 总计")
    private Double pjpTotal;

    @ApiModelProperty(value = "外总表 接班底数")
    private Double eleWzbFrom;

    @ApiModelProperty(value = "外总表 交班底数")
    private Double eleWzbTo;

    @ApiModelProperty(value = "内大表 接班底数")
    private Double eleNdbFrom;

    @ApiModelProperty(value = "内大表 交班底数")
    private Double eleNdbTo;

    @ApiModelProperty(value = "包装间表 接班底数")
    private Double eleBzjFrom;

    @ApiModelProperty(value = "包装间表 交班底数")
    private Double eleBzjTo;

    @ApiModelProperty(value = "分表#1 接班底数")
    private Double eleOneFrom;

    @ApiModelProperty(value = "分表#1 交班底数")
    private Double eleOneTo;

    @ApiModelProperty(value = "分表#2 接班底数")
    private Double eleTwoFrom;

    @ApiModelProperty(value = "分表#2 交班底数")
    private Double eleTwoTo;

    @ApiModelProperty(value = "外总表 合计")
    private Double eleWzbTotal;

    @ApiModelProperty(value = "内大表 合计")
    private Double eleNdbTotal;

    @ApiModelProperty(value = "包装间表 合计")
    private Double eleBzjTotal;

    @ApiModelProperty(value = "分表#1 合计")
    private Double eleOneTotal;

    @ApiModelProperty(value = "分表#2 合计")
    private Double eleTwoTotal;

    @ApiModelProperty(value = "电 总计")
    private Double eleTotal;

    @ApiModelProperty(value = "天然气 接班底数")
    private Double gasFrom;

    @ApiModelProperty(value = "天然气 交班底数")
    private Double gasTo;

    @ApiModelProperty(value = "天然气合计")
    private Double gasTotal;

    @ApiModelProperty(value = "水 接班底数")
    private Double waterFrom;

    @ApiModelProperty(value = "水  交班底数")
    private Double waterTo;

    @ApiModelProperty(value = "水合计")
    private Double waterTotal;

    @ApiModelProperty(value = "饼#1 接班底数")
    private Double cakeOneFrom;

    @ApiModelProperty(value = "饼#1 交班底数")
    private Double cakeOneTo;

    @ApiModelProperty(value = "饼#2 接班底数")
    private Double cakeTwoFrom;

    @ApiModelProperty(value = "饼#2 交班底数")
    private Double cakeTwoTo;

    @ApiModelProperty(value = "饼#1 合计")
    private Double cakeOneTotal;

    @ApiModelProperty(value = "饼#2 合计")
    private Double cakeTwoTotal;

    @ApiModelProperty(value = "饼 总计")
    private Double cakeTotal;

    @ApiModelProperty(value = "油流量计 接班底数")
    private Double oilFlowmeterFrom;

    @ApiModelProperty(value = "油流量计 交班底数")
    private Double oilFlowmeterTo;

    @ApiModelProperty(value = "油罐数 接班底数")
    private Integer oilTankNumFrom;

    @ApiModelProperty(value = "油罐数 交班底数")
    private Integer oilTankNumTo;

    @ApiModelProperty(value = "油流量计 合计")
    private Double oilFlowmeterTotal;

    @ApiModelProperty(value = "油罐数 合计")
    private Integer oilTankNumTotal;

    private String note;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer isDelete;


}
